@REM "Delete the connection pools"

CALL %GLASSFISH_HOME%\bin\asadmin --port 4949 delete-jdbc-connection-pool --cascade=true pool.solarflare

@REM "Create the connection pools"

CALL %GLASSFISH_HOME%\bin\asadmin --port 4949 create-jdbc-connection-pool --datasourceclassname com.mysql.jdbc.jdbc2.optional.MysqlDataSource --restype javax.sql.DataSource --steadypoolsize 1 --statementcachesize 50 --ping true --description "" --property databaseName=slr:URL=jdbc\:mysql\://\:3306/:User=solarflare:Password=solarflare:Port=3306: pool.solarflare

@REM "Create the jdbc resources"
CALL %GLASSFISH_HOME%\bin\asadmin --port 4949 create-jdbc-resource --connectionpoolid pool.solarflare --enabled true jdbc/solarflare.demo
